﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace KWT.DRG_DIP.API.Migrations
{
    /// <inheritdoc />
    public partial class 质控规则库新增字段isEnable : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "isEnable",
                table: "qc_Rules",
                type: "int",
                nullable: false,
                defaultValue: 0,
                comment: "是否启用：1：启用；0：停用");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "isEnable",
                table: "qc_Rules");
        }
    }
}
